Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labelField, searchFields support for relationship field #8074

Merged
merged 12 commits into from
Nov 15, 2022

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Nov 8, 2022

Follow on from #8049, this feature was apparently completely undercooked.

I have now added labelField support for each of the instances that used that functionality, and consequently the searchFields feature which is required for functionality to adhere to UX expectations.

@dcousens dcousens requested a review from emmatown November 8, 2022 02:30
@vercel
Copy link

vercel bot commented Nov 8, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
keystone-next-docs ✅ Ready (Inspect) Visit Preview Nov 15, 2022 at 1:27AM (UTC)

@changeset-bot

This comment was marked as resolved.

@vercel vercel bot temporarily deployed to Preview November 8, 2022 02:31 Inactive
@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 8, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a1fb672:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens
Copy link
Member Author

dcousens commented Nov 8, 2022

@georgekrax

@vercel vercel bot temporarily deployed to Preview November 8, 2022 06:15 Inactive
@dcousens dcousens marked this pull request as ready for review November 8, 2022 06:19
@vercel vercel bot temporarily deployed to Preview November 8, 2022 06:20 Inactive
@dcousens dcousens force-pushed the ui-labelfield branch 2 times, most recently from b20c0b8 to 474ebac Compare November 8, 2022 07:13
@dcousens dcousens changed the title Add ui.inlineConnect.labelField support for cards display Add labelField, searchFields support for relationship field Nov 8, 2022
@vercel vercel bot temporarily deployed to Preview November 8, 2022 07:16 Inactive
@vercel vercel bot temporarily deployed to Preview November 8, 2022 07:19 Inactive
Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have validation that labelField or searchFields on relationships points to fields that work as label fields and search fields (like we do for the list-level options)

(Also, unrelated, this will be broken for users if they update fields-document without core but maybe we're fine with that?)

@vercel vercel bot temporarily deployed to Preview November 9, 2022 05:32 Inactive
@vercel vercel bot temporarily deployed to Preview November 10, 2022 06:53 Inactive
@vercel vercel bot temporarily deployed to Preview November 10, 2022 07:34 Inactive
@vercel vercel bot temporarily deployed to Preview November 10, 2022 07:36 Inactive
@vercel vercel bot temporarily deployed to Preview November 10, 2022 07:37 Inactive
@dcousens dcousens marked this pull request as draft November 10, 2022 07:39
@vercel vercel bot temporarily deployed to Preview November 14, 2022 02:09 Inactive
@dcousens dcousens marked this pull request as ready for review November 15, 2022 00:48
@dcousens dcousens requested a review from emmatown November 15, 2022 00:49
@vercel vercel bot temporarily deployed to Preview November 15, 2022 00:50 Inactive
@vercel vercel bot temporarily deployed to Preview November 15, 2022 01:13 Inactive
@vercel vercel bot temporarily deployed to Preview November 15, 2022 01:27 Inactive
@dcousens dcousens merged commit 2a03de4 into main Nov 15, 2022
@dcousens dcousens deleted the ui-labelfield branch November 15, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants